package org.jd.entity;

import java.util.Arrays;
import java.util.List;

public class Teacher {


        private String TeacherName;
        private  String[] CourseName;
        private List<String> StudentName;

        public Teacher(String teacherName, String[] courseName, List<String> studentName) {
            TeacherName = teacherName;
            CourseName = courseName;
            StudentName = studentName;
        }

        public Teacher() {
        }

        public String getTeacherName() {
            return TeacherName;
        }

        public void setTeacherName(String teacherName) {
            TeacherName = teacherName;
        }

        public String[] getCourseName() {
            return CourseName;
        }

        public void setCourseName(String[] courseName) {
            CourseName = courseName;
        }

        public List<String> getStudentName() {
            return StudentName;
        }

        public void setStudentName(List<String> studentName) {
            StudentName = studentName;
        }

        @Override
        public String toString() {
            return "Teacher{" +
                    "TeacherName='" + TeacherName + '\'' +
                    ", CourseName=" + Arrays.toString(CourseName) +
                    ", StudentName=" + StudentName +
                    '}';
        }
    }


